﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HappyHour.MyTasks.Client.UI.Metro.Data
{
    public sealed class TasksDataSource
    {
        public ObservableCollection<TaskItem> AllTasks { get; set; }

        public TasksDataSource()
        {
            AllTasks = new ObservableCollection<TaskItem>();

            AllTasks.Add(new TaskItem()
            {
                Description = "HappyHour fertig machen.",
                DueDate = new DateTime(2012, 8, 15),
                IsDone = false,
                StartDate = new DateTime(2012, 7, 26),
                Title = "Zwei für Eins"
            });


            AllTasks.Add(new TaskItem()
            {
                Description = "Apéro planen.",
                DueDate = new DateTime(2012, 8, 15),
                IsDone = false,
                StartDate = new DateTime(2012, 7, 26),
                Title = "Apéro"
            });

            AllTasks.Add(new TaskItem()
            {
                Description = "Bereiterklärung HappyHour.",
                DueDate = DateTime.Now.AddDays(2),
                IsDone = true,
                StartDate = new DateTime(2012, 7, 26),
                Title = "Mitmachen Verkünden"
            });
        }
    }
}
